public class HttpSer : IHttp{
    public override void ServerHttp(HttpRequest req, HttpResponse resp)
    {
       // System.Console.WriteLine("..");
        if(req.URL.Contains("/add")){
            
            resp.Write("缓存成功");
            
        }else if(req.URL.Contains("/get")){
            
        }else if(req.URL.Contains("/regist")){
            dist.AddNode(req.URL.Replace("/regist/",""));
            resp.Write("注册成功");
        }
      
    }
}